ia.CalloutBox Class
Creates a callout box.
Constructor
ia.CalloutBox
(
-
id
-
notchPosition
Parameters:
-
id
StringThe element id.
-
notchPosition
String"top-bottom" or "left-right" or "none".
Methods
append
(
-
obj
Appends an element.
Parameters:
-
obj
JQUERY ElementThe jquery object.
hide
()
Hide the callout.
popup
(
-
isPopup
Sets or gets if its a popup - closes on a click outside the callout.
Parameters:
-
isPopup
Booleantrue/false.
position
(
-
x
-
y
Positions the callout.
Parameters:
-
x
NumberThe x position.
-
y
NumberThe y position.
show
()
Show the callout.
toggle
(
-
visible
Toggles the visibility of the callout.
Parameters:
-
visible
Booleantrue/false.
Properties
container
JQUERY Element
The container that holds the object.
id
String
The id.
notchPosition
String
"top-bottom" or "left-right".
Default: "left-right"